package com.nytd.demo.service;

import com.nytd.demo.mapper.LogInfoMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class LogInfoService {
    @Autowired
    private LogInfoMapper logInfoMapper;

    public void insertLog(String name,String op){
        //记录⽤⼾操作
        logInfoMapper.insertLog(name,"⽤⼾注册");
    }

}
